You can use constants to set or clear flag bits in the outputFlags parameter passed to the OpenMixerSoundComponent routine. These flags specify the format of the data your sound output device component expects to receive. See [link] for information about the OpenMixerSoundComponent function.
Most of these flags are ignored unless the kNoMixing flag is set, because a sound output device component cannot perform data modifications such as sample rate conversion or sample size conversion unless it is also able to mix sound sources.
#define kNoMixing (1 << 0) /*don't mix sources*/
#define kNoSampleRateConversion (1 << 1) /*don't convert sample rate*/
#define kNoSampleSizeConversion (1 << 2) /*don't convert sample size*/
#define kNoSampleFormatConversion \
(1 << 3) /*don't convert sample format*/
#define kNoChannelConversion (1 << 4) /*don't convert stereo/mono*/
#define kNoDecompression (1 << 5) /*don't decompress*/
#define kNoVolumeConversion (1 << 6) /*don't apply volume*/
#define kNoRealtimeProcessing (1 << 7) /*don't run at interrupt time*/
| Previous | Chapter contents | Chapter top | Section top | Next |